<html>
<head><meta charset="utf-8"><title>cargo bench cross-crate? · t-compiler/performance · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/index.html">t-compiler/performance</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/cargo.20bench.20cross-crate.3F.html">cargo bench cross-crate?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247387172"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/cargo%20bench%20cross-crate%3F/near/247387172" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> The 8472 <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/cargo.20bench.20cross-crate.3F.html#247387172">(Jul 27 2021 at 20:33)</a>:</h4>
<p>Are benchmarks in the benches directory of a project compiled as a separate crate? I.e. do they observe different inlining behavior when they're placed in a benches directory vs. in a submodule?</p>



<a name="247387567"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/cargo%20bench%20cross-crate%3F/near/247387567" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/cargo.20bench.20cross-crate.3F.html#247387567">(Jul 27 2021 at 20:36)</a>:</h4>
<p>Yes</p>



<a name="247387573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/cargo%20bench%20cross-crate%3F/near/247387573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/cargo.20bench.20cross-crate.3F.html#247387573">(Jul 27 2021 at 20:36)</a>:</h4>
<p>AFAIK</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>